Templately\Core\Importer\FullSiteImport D

Total Complexity 173
Dependencies 10
Dependents 3
Total lines 982
Lines of code 671
Logical lines of code 391
Comment lines 137
Methods 37
Properties 14

Methods 37

Method Rating Maintainability Complexity Lines of code
import_revert()
C
36 26 72
import()
B
37 15 71
install_dependencies()
B
35 13 96
normalize_imported_data()
A
49 12 30
register_shutdown()
A
51 9 24
import_info()
A
47 8 34
download_zip()
A
44 7 42
import_status()
S
59 8 12
handle_import_status()
S
47 6 36
unzip()
S
54 6 22
__construct()
S
54 5 20
initialize_props()
S
59 5 15
get_session_data()
S
61 5 11
add_revert_hooks()
S
54 4 20
unzip_file()
S
56 4 18
getConnectionStatusText()
S
62 4 13
check_writing_permission()
S
61 3 11
add_revert_button()
S
55 2 23
has_revert()
S
66 3 8
redirect_for_archives()
S
67 3 7
import_settings()
S
62 2 11
info_get_api_url()
S
78 2 3
get_post_type_label_by_slug()
S
69 2 7
get_api_url()
S
77 2 3
admin_init()
S
71 2 6
skipped_plugin()
S
78 2 3
read_manifest()
S
65 2 8
throw()
S
71 2 6
start_content_import()
S
60 1 13
get_request_params()
S
82 1 3
clear_session_data()
S
80 1 3
allow_svg_upload()
S
76 1 4
after_install_hook()
S
91 1 2
before_install_hook()
S
79 1 3
update_session_data()
S
74 1 4
update_imported_list()
S
72 1 5
revert()
S
91 1 2